<script type="text/javascript">{$tabs.0.groupId}= [{foreach item=i from=$tabs name=tabs}"{$i.id}"{if !$smarty.foreach.tabs.last},{/if}{/foreach}]</script>
<div class="fg_innerTabs" style="{$panel->tabsStyle}">
	{foreach item=i from=$tabs name=tabs}
		<a class="{if $i.selected}selected{/if}" onclick="fg_showTab('{$i.groupId}','{$i.id}',{$i.nr})" id="{$i.id}">
			<span><span><span> {$i.title} </span></span></span>
		</a>
	{/foreach}
	<div class="fg_innerTabsLine" ></div>
</div>